#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
        const double PI = 3.14159265358979323;
        int r;
        cin >> r;
        double ret = PI*r*r;
        cout << setiosflags(ios::fixed) << setprecision(7) << ret << endl;
        return 0;
}